Labels:text | screenshot | diagram | font | parallel | plan | line OCR: Figure 2 Inside an I/O completion port 3 V'O to any associated file handle causes an I/O completion packet to be queued until a thread is ready to 1 service it. Associate device (e.g. file, named pipe) handles with port by calling CreateIoCompletionFort [). 4 Associated Handles The thread that most recently called (files, pipes, whatever) GetQuepediCompletionStatus () most recent packet returns, and receives the next I/O completion packet. queue of I/O completion packets oldest packet Newest thread 2 Any thread ready to service requests can wait for the next I/O completion Oldest thread packet by calling GetQueuedCompletionStatus () NT remembers each such waiting Stack of waiting thread on a stack threads Inside an I/O Completion Port